package com.welink.cmp.domain.metadata.gateway;

import com.welink.cmp.domain.metadata.Switch;

import java.util.List;

/**
 * @author yanwei li create  2024-05-20 21:31
 */
public interface ISwitchGateway {

    boolean saveOrUpdateSwitch(Switch aSwitch);

    Boolean saveOrUpdateBatchBySn(List<Switch> switchList);

    Switch getSwitchById(Long id);


    List<Switch> getSwitchListByIp(List<String> ipList);
}
